package myStack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-05-27
 * Time:21:08
 */
public class TestDemo {
    public static void main(String[] args) {
        MyStack stack=new MyStack();
        stack.myPush(1);
        stack.myPush(2);
        stack.myPush(3);
        System.out.println(stack.myPop());
        System.out.println(stack.myPop());
        System.out.println(stack.myPop());
        System.out.println(stack.myIsEmpty());
    }
}
